package edu.pku.sei.mte.exceptions;

import edu.pku.sei.mte.mtemodel.mtmodel.expression.Expression;

public class ExpressionException extends TException {
	final static int BIND_DIFFERENT_VALUES = 1;
	
	private int type;
	private Object oldValue;
	private Object newValue;
	private Expression expr;
	public Expression getExpr() {
		return expr;
	}
	public void setExpr(Expression expr) {
		this.expr = expr;
	}
	public Object getNewValue() {
		return newValue;
	}
	public void setNewValue(Object newValue) {
		this.newValue = newValue;
	}
	public Object getOldValue() {
		return oldValue;
	}
	public void setOldValue(Object oldValue) {
		this.oldValue = oldValue;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}

}
